package com.newtest;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.Configuration;

@SpringBootApplication
@Configuration
@MapperScan("com.newtest.demos.mapper")
@ServletComponentScan//开启了对servlet组件的支持
public class NewTestApplication {
    public static void main(String[] args) {
        SpringApplication.run(NewTestApplication.class, args);
    }

}
